package com.shangyueshang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangyueshang.model.FreightForwarder;
import com.shangyueshang.request.FreightDTO;
import com.shangyueshang.request.PageReq;
import com.shangyueshang.response.HttpResult;
import com.shangyueshang.response.PageResult;

/**
 * @author: JokeyZheng
 * @email: zhengjingfeng@ruqimobility.com
 * @created: 2022/2/18 17:57
 * @version: v1.0.0
 */
public interface FreightForwarderService extends IService<FreightForwarder> {


    /**
     * 分页查询
     *
     * @param pageReq
     * @return
     */
    PageResult<FreightForwarder> findPage(PageReq pageReq);

    /**
     * 保存
     *
     * @param request
     * @return
     */
    HttpResult<Boolean> saveUpdate(FreightDTO request);

}
